<% layout('../layouts/layout') %>
<% include ../../layouts/layout.header.ejs %>
<%- partial('../includes/breadCrumbs.ejs', {
breadCrumbs:[
{
'name':'首页', // 名称
'url':'/'        // url
},
{
'name':'子栏目', // 名称
'url':'javascript://'        // url
}
]
}) %>
<div class="container">
    <div class="row">
        <div class="filter-box">
            <div class="hyfl-wp clearfix" id="vocation_vm">
                <span class="s-tit">行业分类：</span>
                <ul class="hyfl-list clearfix">
                    <li class="item" data-industry="" v-bind:class="{active:bookType == undefined}">
                        <a href="javascript://" class="hyfl-link">不限</a>
                    </li>
                    <li class="item" v-for="(info,$index) in infoList" v-bind:class="{active:bookType == info.bookName}" v-bind:data-industry="info.bookNum">
                        <a href="javascript://" class="hyfl-link">{{info.bookName}}</a>
                    </li>
                </ul>
            </div>
            <div class="oth-fl mt20">
                <form class="form-inline" role="form">
                    <div class="form-group">
                        <p class="form-control-static">注册年份：</p>
                        <input type="text" name="publishDateBegin" class="form-control" onfocus="WdatePicker({isShowWeek:true})">
                    </div>
                    <div class="form-group">
                        <span>至</span>
                    </div>
                    <div class="form-group">
                        <input type="text" name="publishDateEnd" class="form-control" onfocus="WdatePicker({isShowWeek:true})">
                    </div>
                    <div class="form-group ml50">
                        <p class="form-control-static">注册资本：</p>
                        <input type="text" name="regCapitalBegin" class="form-control">
                    </div>
                    <div class="form-group">
                        <span>至</span>
                    </div>
                    <div class="form-group">
                        <input class="form-control" name="regCapitalEnd" type="text">
                    </div>
                    <a href="javascript://" id="btn_search_filter" class="btn btn-filter">筛选</a>
                </form>
            </div>
        </div>
        <div class="search-cont" id="searchList_vm">
            <div class="dataNum-wp mt20">
                共<span class="num">{{totalRow}}</span>家企业
            </div>
            <div class="search-list-wp">
                <div class="hideBox text-center" v-bind:class="{active:toggle == 1}">正在加载中...</div>
                <div class="hideBox text-center" v-bind:class="{active:toggle == 3}">暂无数据</div>
                <div class="hideBox" v-bind:class="{active:toggle == 2}">
                    <ul class="search-list">
                        <li class="item" v-for="info in infoList">
                            <div class="name-tit">
                                <a v-bind:href="'/search/details?custId='+info.custId + '&regNum='+info.regNum +'&custName='+info.custName + '&credNum='+ info.credNum">{{info.custName}}</a>
                            </div>
                            <div class="oth-info">
                                <p>注册号：{{info.regNum}}</p>
                                <p>主营项目类别：{{info.manageItem}}</p>
                                <p>
                                    <span>法定代表人：</span>
                                    <span class="representative">{{info.legalMan}}</span>
                                    <span>注册资本：</span>
                                    <span class="capital">{{info.regCapital}}</span>
                                    <span>成立日期：</span>
                                    <span>{{info.publishDate}}</span>
                                </p>
                            </div>
                        </li>
                    </ul>
                </div>
            </div>
            <%- partial('../includes/pagination.ejs', {
            isBrowser  : true,
            id         : 'pagination_page',
            totalRow   : '共{{totalRow}}条数据'
            }) %>
        </div>
    </div>
</div>
<% include ../../layouts/layout.footer.ejs %>
<link rel="stylesheet" href="css/search.css">
<script src="/libs/My97DatePicker/WdatePicker.js"></script>
<script src="/js/search/search.js"></script>